<?php session_start();
//Make sure person is logged in. If not, send to login page
if(!isset($_SESSION['loggedIn'])){
	header('Location: StudentLogin.php');
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<link href="main.css" rel="stylesheet" type="text/css" />
<title>Change Password</title>
</head>
<body>
&nbsp;
<p>&nbsp; &nbsp;</p>
&nbsp;
	<div id="navigation"><ul>
    <li><a href="logout.php">Logout</a></li>
    <!--<li><a href="ChangePassword.php">Change Password</a></li>-->
    <li><a href="StudentAssignment.php">Student Assignments</a></li>
    <!--<li><a href="/main/index.php">Home</a></li>-->
</ul></div>
    <div id="wrapper">
      	<div id="section">
            <div id='sectionHeader'>Change Password</div>
&nbsp;
        <!-- GROUP CONTENT -->
<form name="ChangePasswordForm" id="ChangePasswordForm" action="cpresult.php" method="post">
<table>
	<tr><td>Enter old password:</td> <td><input name="oldPassword" type="password"/></td></tr>
	<tr><td>Enter new password:</td> <td><input name="newPassword" type="password"/></td></tr>
	<tr><td>Confirm new password:</td> <td><input name="newPasswordCheck" type="password"/></td></tr>
</table>
	<input type="submit" name="btnSubmit" value="Submit" />
</form>
 	<!-- END GROUP CONTENT -->
        </div>
    </div>
</body>
</html>